3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
The 3D Viewer provides routines that you can use to ensure that the cursor is properly synchronized with the state of a viewer object.
You can use the Q3ViewerAdjustCursor function to allow the 3D Viewer to adjust the cursor when it is inside a viewer object.
The Q3ViewerAdjustCursor function adjusts the cursor to whatever shape is appropriate when the cursor is located at the point specified by the pt parameter inside the viewer object specified by the theViewer parameter. You should call Q3ViewerAdjustCursor in response to a mouse-moved event or during your application's idle-time processing. Q3ViewerAdjustCursor returns a Boolean value that indicates whether the shape of the cursor was changed ( TRUE ) or not ( FALSE ).
You can use the Q3ViewerCursorChanged function to notify the 3D Viewer that you have changed the cursor.
Previous | QD3D Book | Overview | Chapter Contents | Next